module.exports = {
  publicPath: process.env.NODE_ENV === "production" ? "/" : "./",
  productionSourceMap: false,
  lintOnSave: process.env.NODE_ENV === 'development',
  productionSourceMap: false,
  devServer: {
    open: true,
    port: 3000,
    overlay: {
      warnings: false,
      errors: true
    },
    before: process.env.NODE_ENV === 'development' && process.env.VUE_APP_ISMOCK == 1 ? require('./mock/mock-server.js') : false
  }
}